import {ImageSourcePropType} from "react-native";

export enum restaurantListIdx {
    BestSaller,
    Nearby,
    ComingSoon,
}

export interface UserInfo {
    nickname: string;
    age: number;
    money: number;
}

export interface RestaurantsI {
    img: ImageSourcePropType;
    title: string;
    detail: string;
    hot: number;
    isBussiness: boolean;
    comments: number;
    nearby: number;
}

export interface TabState {
    userInfo: UserInfo | null;
    token: string | null;
    restaurantsList: RestaurantsI[];
}
